<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>添加助管信息</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link href="css/style.css" rel="stylesheet">
</head>

<body>
    <div id="main-data" class="">
        <div class="panel panel-default">
            <div class="panel-heading">审核助管信息</div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-10">
                        <div class="col-sm-4">
                            <span>审核状态：</span>
                            <select v-model="query.statusCode" class="form-control form-select" name="status">
                                <option value="">全部</option> 
                                <option v-bind:value="sta.statusCode" v-for="sta in status">{{ sta.statusName }}</option> 
                            </select>
                        </div>
                        <div class="col-sm-4">
                            <span>年月：</span>
                            <select v-model="query.helpDate" class="form-control form-select" name="yearMonth">
                                <option value="">全部</option>
                                <option v-bind:value='month' v-for="month in dates">{{ month }}</option>
                            </select>
                        </div>
                        <div class="col-sm-4">
                            <span>部门：</span>
                            <select v-model="query.deptId" class="form-control form-select" name="dept">
                                <option value="">全部</option>
                                <option v-bind:value="dept.deptId" v-for="dept in depts">{{ dept.deptName }}</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-sm-2">
                        <button class="btn btn-default" v-on:click="queryData('all')">查询</button>
                    </div>
                </div>
            </div>
            <div class="panel-body">
                <table class="table table-bordered mt-10">
                    <tr>
                        <th>选择</th>
                        <th>学号</th>
                        <th>姓名</th>
                        <th>所在单位</th>
                        <th>所在银行</th>
                        <th>银行卡号</th>
                        <th>申请年月</th>
                        <th>申请金额</th>
                        <th>备注</th>
                        <th>状态</th>
                    </tr>
                    <tr v-for="item in items" track-by="$index">
                        <td>
                            <input type="checkbox" v-model="check_id" v-bind:value='item.id'>
                        </td>
                        <td>{{item.stuId}}</td>
                        <td>{{item.studentName}}</td>
                        <td>{{item.deptName}}</td>
                        <td>{{item.bankName}}</td>
                        <td>{{item.bankNo}}</td>
                        <td>{{item.helpDate}}</td>
                        <td>{{item.money}}</td>
                        <td>{{item.remark}}</td>
                        <td>{{item.statusCodeName}}</td>
                    </tr>
                    <!-- <span>  {{check_id}}</span> -->
                </table>
                <!-- 分页 -->
                <nav>
                    <ul class="pagination">
                        <li v-bind:class="{'disabled': page.disabled, 'active': page.active }" v-for="page in pages"><a v-on:click="submitPage(page.content)">{{page.content}}</a></li>
                    </ul>
                </nav>
                <div>
                    <button class="btn btn-default" v-on:click="submitData">提交</button>
                    <a  class="btn btn-default" href="" onclick="javascript:getWordUrl(this)">导出word</a>
                    <a  class="btn btn-default" href="" onclick="javascript:getExcelUrl(this)">导出Excel</a>
                  <!--   <button class="btn btn-default" v-on:click="exportData('word')">导出word</button> -->
                <!--     <button class="btn btn-default" v-on:click="exportData('excel')">导出excel</button> -->
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="js/dist/jquery-2.2.4.js"></script>
<script type="text/javascript" src="js/dist/bootstrap.min.js"></script>
<script type="text/javascript" src="js/dist/vue.js"></script>
<script type="text/javascript" data-main="js/shenhe.js" src="js/dist/require.js"></script>

</html>
